Get Channel
AutomatR.MicrosoftTeams.Activities.GetChannel
The "Get Channel" activity in AutomatR for Microsoft Teams retrieves details about a specific channel within a Microsoft Teams team. This activity is valuable for accessing channel information and managing channels within Teams.
Properties
Name | Description |
---|---|
Input | |
Team ID | Specifies the Team ID to which the target channel belongs. String variables containing the Team ID. |
Channel ID | Specifies the Channel ID for which details are to be retrieved. String variables containing the Channel ID. |
Misc | |
Display Name | The display name of the activity. A display name is automatically generated when you indicate a target. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Get Channel" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
Output | |
Result | Outputs a Microsoft.Graph.Channel object, representing the details of the specified channel within the Microsoft Teams team. This includes information such as the channel's display name, ID, and other relevant details. |
How to use:
- Drag and drop the "Get Channel" activity onto the workflow.
- Configure the properties by specifying the Team ID and Channel ID for the channel you want to retrieve details for.
- Optionally, configure the delay.
- Execute the workflow to retrieve details about the specified channel within the Microsoft Teams team.
Example: Consider an example where the "Get Channel" activity is used to retrieve details about a channel with the Channel ID "channel123" within a Teams team with the Team ID "team456":
Get Channel:
Team ID: "team456"
Channel ID: "channel123"
Delay: 1
Result: channelDetails
In this example, the activity retrieves details about the channel with the Channel ID "channel123" within the Teams team with the Team ID "team456". The resulting channelDetails
object contains information about the specified channel, which can be further processed in the workflow.